import request from '@/utils/request'

// index数据看板库存商品新增变化
export function getProductAddChange(query) {
  return request({
    url: '/api/dashboard/product_change',
    method: 'get',
    params: query
  })
}

export function getRemainUpload(query) {
  return request({
    url: '/api/dashboard/remain_upload',
    method: 'get',
    params: query
  })
}

export function getShopQuantity(query) {
  return request({
    url: '/api/dashboard/shopStockStats',
    method: 'get',
    params: query
  })
}
